package com.app.main.service;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.app.main.dao.MainDao;
import com.app.main.domain.Main;

@Service
public class MainService {
	static Logger logger = LoggerFactory.getLogger(MainService.class);
	
	@Autowired
	MainDao mainDao;
	
	public List<Main> main() {
		return mainDao.main();
	}
	
}
